$OpenBSD: patch-include_IL_il_h,v 1.1 2017/05/07 12:49:54 espie Exp $
restrict doesn't exist in C++

Index: include/IL/il.h
--- include/IL/il.h.orig
+++ include/IL/il.h
@@ -63,7 +63,7 @@ extern "C" {
 	#endif
 #endif
 
-#ifdef RESTRICT_KEYWORD
+#if defined(RESTRICT_KEYWORD) && !defined(__cplusplus)
 #define RESTRICT restrict
 #define CONST_RESTRICT const restrict
 #else
